<div class="row-fluid">
     <div class="span12">
            <h2> <small>#i18n{portal.users.modify_user.titleUser}</small>&nbsp;${user.lastName} ${user.firstName}
                <span class="pull-right"><small><@item_navigation item_navigator=item_navigator /></small></span>
            </h2>
            <ul class="nav nav-tabs">
                <li>
                    <a href="jsp/admin/user/ModifyUser.jsp?id_user=${user.userId}" >#i18n{portal.users.actions.labelUser}</a>
                </li>
                <li><a href="jsp/admin/user/ModifyUserRights.jsp?id_user=${user.userId}">#i18n{portal.users.actions.labelRights}</a></li>
                <li><a href="jsp/admin/user/ModifyUserRoles.jsp?id_user=${user.userId}">#i18n{portal.users.actions.labelRoles}</a></li>
                <li class="active"><a href="jsp/admin/user/ModifyUserWorkgroups.jsp?id_user=${user.userId}">#i18n{portal.users.actions.labelWorkgroups}</a></li>
            </ul>
            <#if can_delegate && can_modify>
            <form method="post" name="modifyform" action="jsp/admin/user/ModifyUserWorkgroups.jsp" class="form-inline pull-right">            
                <input type="hidden" name="id_user" value="${user.userId}" />
                <input type="hidden" name="delegate_rights" value="false"/>
                <button type="submit"  class="btn btn-primary btn-small" /><i class="icon-share icon-white"></i>&nbsp;#i18n{portal.users.manage_user_workgroups.buttonLabelDelegate} </button>         
            </form>
            </#if>
        <div class="row-fluid">
                <div class="span10 ">
				<h3>#i18n{portal.users.manage_user_workgroups.titleRightList}</h3>        	
                    <table class="table table-striped table-condensed">
                        <tr>
                            <th>#i18n{portal.users.manage_user_workgroups.columnTitleName}</th>
                            <th>#i18n{portal.users.manage_user_workgroups.columnTitleDescription}</th>
                        </tr>
                        <#list user_workgroup_list?sort_by('code') as workgroup>
                        <tr>
                            <td>${workgroup.code}</td>
                            <td>${workgroup.name}</td>			
                        </tr>
                        </#list>		
				</table>        
			</div>
		</div>
	</div>
</div>
